<!--<template>-->
<!--    <div class="padding20">-->
<!--        &lt;!&ndash;列表页&ndash;&gt;-->
<!--        <div v-show="showList">-->
<!--            &lt;!&ndash;条件查询&ndash;&gt;-->
<!--            <el-form :model="queryParam" label-position="left" size="small" @submit.native.prevent>-->
<!--                <el-row :gutter="50" justify="start">-->
<!--                    <el-col :xs="12" :sm="7">-->
<!--                        <el-form-item label="企业名称:" label-width="80px">-->
<!--                            <el-input v-model="queryParam.name" placeholder="企业名称" @keyup.enter.native="selectPage"-->
<!--                                      clearable/>-->
<!--                        </el-form-item>-->
<!--                    </el-col>-->
<!--                    <el-col :xs="12" :sm="7">-->
<!--                        <el-form-item label="企业账号:" label-width="80px">-->
<!--                            <el-input v-model="queryParam.userAccount" placeholder="企业账号"-->
<!--                                      @keyup.enter.native="selectPage"-->
<!--                                      clearable/>-->
<!--                        </el-form-item>-->
<!--                    </el-col>-->
<!--                    &lt;!&ndash;展开/收起&ndash;&gt;-->
<!--                    <el-col :xs="showMoreSearch?24:13" :sm="showMoreSearch?24:7">-->
<!--                        <div style="float: left;overflow: hidden;">-->
<!--                            <el-button size="small" @click="selectPage" type="primary">查询</el-button>-->
<!--                            <el-button size="small" @click="clearParam">重置</el-button>-->
<!--                        </div>-->
<!--                    </el-col>-->
<!--                </el-row>-->
<!--            </el-form>-->

<!--            &lt;!&ndash;操作按钮&ndash;&gt;-->
<!--            <div class="mi-container">-->
<!--                <el-button size="mini" class="mi-item" type="primary" icon="el-icon-plus"-->
<!--                           @click="show('add')">新增企业账号-->
<!--                </el-button>-->
<!--            </div>-->

<!--            &lt;!&ndash;表格数据&ndash;&gt;-->
<!--            <el-table :data="tableData"-->
<!--                      border fit style="width: 100%;"-->
<!--                      highlight-current-row show-overflow-tooltip-->
<!--                      @selection-change="selectionChange">-->
<!--                &lt;!&ndash;                <el-table-column type="selection" width="55" align="center"/>&ndash;&gt;-->
<!--                <el-table-column type="index" label="序号" width="80" align="center"/>-->
<!--                <el-table-column label="企业名称" prop="name" align="center"/>-->
<!--                <el-table-column label="企业账号" prop="userAccount" align="center"/>-->
<!--                <el-table-column label="公司信息" prop="companyContent" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <span>{{scope.row.companyContent | companyContentFilter}}</span>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="企业性质" prop="unitType" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <span v-if="!scope.row.unitType">暂无数据</span>-->
<!--                        <el-tag v-else class="rit5" v-for="tag in split(scope.row.unitType)">-->
<!--                            {{tag}}-->
<!--                        </el-tag>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="行业类别" prop="industryName" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        {{ scope.row.industryName | nullFilter}}-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--                <el-table-column label="操作" width="230" align="center">-->
<!--                    <template slot-scope="scope">-->
<!--                        <el-button plain size="mini" @click="show('info',scope.row)">-->
<!--                            详情-->
<!--                        </el-button>-->
<!--                        <el-button type="success" plain size="mini" @click="show('update',scope.row)">-->
<!--                            编辑-->
<!--                        </el-button>-->
<!--                        <el-dropdown @command="handleCommand($event,scope.$index, scope.row)" style="margin-left: 10px">-->
<!--                            <el-button type="primary" plain size="mini">-->
<!--                                更多<i class="el-icon-arrow-down el-icon&#45;&#45;right"/>-->
<!--                            </el-button>-->
<!--                            <el-dropdown-menu slot="dropdown">-->
<!--                                <el-dropdown-item command="dynamicHuman">动态人力资源信息</el-dropdown-item>-->
<!--                                <el-dropdown-item command="inWork">员工基本情况管理</el-dropdown-item>-->
<!--                                <el-dropdown-item command="statistics">用人单位招聘信息统计</el-dropdown-item>-->
<!--                                <el-dropdown-item command="resetPassword">修改密码</el-dropdown-item>-->
<!--                            </el-dropdown-menu>-->
<!--                        </el-dropdown>-->
<!--                    </template>-->
<!--                </el-table-column>-->
<!--            </el-table>-->

<!--            &lt;!&ndash;分页插件&ndash;&gt;-->
<!--            <Pagination @pagination="selectPage"-->
<!--                        v-show="pageParam.pages>0"-->
<!--                        :total-data-num="pageParam.total"-->
<!--                        :current-page="pageParam.current"-->
<!--                        :page-size="pageParam.size"/>-->
<!--        </div>-->

<!--        &lt;!&ndash;修改&ndash;&gt;-->
<!--        <transition name="el-fade-in">-->
<!--            <CompanyGEdit v-if="showEdit" :mData="viewData" :option="viewOption" @close="close"/>-->
<!--        </transition>-->

<!--        &lt;!&ndash;详情&ndash;&gt;-->
<!--        <transition name="el-fade-in">-->
<!--            <CompanyGInfo v-if="showInfo" :mData="viewData" :option="viewOption" @close="close"/>-->
<!--        </transition>-->

<!--        &lt;!&ndash;新增企业&ndash;&gt;-->
<!--        <transition name="el-fade-in">-->
<!--            <AddCompany v-if="showAdd" :data="viewData" :option="viewOption" @close="close"/>-->
<!--        </transition>-->

<!--    </div>-->
<!--</template>-->

<!--<script lang="ts">-->
<!--    import {Component} from 'vue-property-decorator'-->
<!--    import {API} from "@/core/api/API";-->
<!--    import {mixins} from "vue-class-component";-->
<!--    import BaseVue from "@/core/mixin/BaseVue";-->
<!--    import Pagination from "@/components/Pagination/Pagination.vue";-->
<!--    import Kit from "@/core/mixin/Kit";-->
<!--    import $http from "@/core/utils/http";-->
<!--    import AddCompany from "@/views/government/company/company-info/AddCompany.vue";-->
<!--    import CompanyGEdit from "@/views/government/company/company-info/edit.vue";-->
<!--    import CompanyGInfo from "@/views/government/company/company-info/info.vue";-->

<!--    @Component({-->
<!--        name: 'CompanyGList',-->
<!--        components: {-->
<!--            Pagination,-->
<!--            CompanyGEdit,-->
<!--            CompanyGInfo,-->
<!--            AddCompany,-->
<!--        },-->
<!--    })-->
<!--    export default class CompanyGList extends mixins(BaseVue, Kit) {-->
<!--        //初始化-->
<!--        async mounted() {-->
<!--            this.selectPage();-->
<!--        }-->

<!--        //查询分页-->
<!--        selectPage(page: any = null) {-->
<!--            this.pageData(API.companyInfoPage, page)-->
<!--                .then((res: any) => {-->
<!--                })-->
<!--        }-->


<!--        //处理更多按钮事件-->
<!--        handleCommand(command: any, index: any, row: any) {-->
<!--            switch (command) {-->
<!--                //重置密码-->
<!--                case "resetPassword":-->
<!--                    this.resetPassword(row);-->
<!--                    break;-->
<!--                // 动态人力资源信息-->
<!--                case "dynamicHuman":-->
<!--                    this.go("DynamicHumanGList", {id: row.id, userId: row.userId, userAccount: row.userAccount});-->
<!--                    break;-->
<!--                // 员工基本情况管理-->
<!--                case "inWork":-->
<!--                    this.go("InWorkHumanGList", {id: row.id, userId: row.userId, userAccount: row.userAccount});-->
<!--                    break;-->
<!--                // 用人单位招聘信息统计-->
<!--                case "statistics":-->
<!--                    this.go("RecruitInfoEdit", {id: row.id, userId: row.userId, userAccount: row.userAccount});-->
<!--                    break;-->
<!--            }-->
<!--        }-->


<!--        //重置密码-->
<!--        resetPassword(row: any) {-->
<!--            this.$prompt("请输入新密码", "修改密码", {-->
<!--                confirmButtonText: "确定",-->
<!--                cancelButtonText: "取消",-->
<!--                closeOnClickModal: false,-->
<!--                inputPattern: /^[a-zA-Z0-9.]{8,16}$/,-->
<!--                inputErrorMessage: '请输入密码8到16位,可以包含（字母，数字，下划线）'-->
<!--            }).then((val: any) => {-->
<!--                //执行修改密码-->
<!--                $http.post(API.companyInfoResetPassword, {-->
<!--                    account: row.userAccount,-->
<!--                    password: val.value-->
<!--                }).then((res: any) => {-->
<!--                    if (res.success) {-->
<!--                        this.$alert("密码已成功修改为: " + val.value, '修改密码成功', {-->
<!--                            confirmButtonText: '确定'-->
<!--                        });-->
<!--                    }-->
<!--                });-->
<!--            }).catch(() => {-->

<!--            });-->
<!--        }-->

<!--        //重新获取焦点-->
<!--        activated() {-->
<!--        }-->

<!--        //失去焦点-->
<!--        deactivated() {-->
<!--        }-->

<!--        showEdit = false;-->
<!--        showAdd = false;-->

<!--        //切换视图-->
<!--        show(type: any, data: any = {}) {-->
<!--            //赋值-->
<!--            this.viewData = data;-->
<!--            this.viewOption.type = type;-->

<!--            //修改-->
<!--            if (type == "add") {-->
<!--                this.viewOption.title = '新增企业账号';-->
<!--                this.showAdd = true;-->
<!--                this.showList = false;-->
<!--            }-->


<!--            //新增-->
<!--            if (type == "insert") {-->
<!--                this.viewOption.title = '新增分类';-->
<!--                this.showEdit = true;-->
<!--                this.showList = false;-->
<!--            }-->

<!--            //修改-->
<!--            if (type == "update") {-->
<!--                this.viewOption.title = '企业信息编辑';-->
<!--                this.showEdit = true;-->
<!--                this.showList = false;-->
<!--            }-->

<!--            //修改-->
<!--            if (type == "info") {-->
<!--                this.viewOption.title = '企业信息详情';-->
<!--                this.showInfo = true;-->
<!--                this.showList = false;-->
<!--            }-->

<!--        }-->

<!--        //视图关闭回调-->
<!--        close(obj: any = {}) {-->
<!--            this.showAdd = false;-->
<!--            this.showInfo = false;-->
<!--            this.showEdit = false;-->
<!--            setTimeout(() => {-->
<!--                this.showList = true;-->
<!--                if (obj.refresh) {-->
<!--                    this.selectPage();-->
<!--                }-->
<!--            }, 200);-->
<!--        }-->
<!--    }-->

<!--</script>-->

<!--<style scoped type="scss">-->
<!--</style>-->
